package com.mecuros.user.feign;

import com.mecuros.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Classname OrderFeignService
 * @Description TODO
 * @Date 2022/1/24 11:28 下午
 * @Created by yujianbo
 */
@FeignClient(name = "ribbon-order",path = "/order")
public interface OrderFeignService {

    @RequestMapping(value = "/findOrderByUserId/{id}")
    R findOrderByUserId(@PathVariable("id") Integer id);
}
